<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>修改登录密码-<?php echo $cfg_webname;?></title>
<link href="<?php echo $cfg_basehost;?>/css/v2_index.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $cfg_basehost;?>/js/jquery.js"></script>
<script type="text/javascript" src="<?php echo $cfg_basehost;?>/js/jquery.superslide.2.1.1.js"></script>
<script type="text/javascript" src="<?php echo $cfg_basehost;?>/system/gzs.ajax.js"></script>
<script type="text/javascript">
function CheckLogintop(){
var taget_obj = document.getElementById('_userlogin');
myajax = new DedeAjax(taget_obj,false,false,'','','');
myajax.SendGet2("/user/ajax_loginsta.php");
DedeXHTTP = null;
}
</script>
<style type="text/css">
.formbutton{width:80px;}
.input_container{margin-bottom:20px;}
.input_container label{line-height:26px;height:26px;font-size:14px;display:block;padding-bottom:10px;}
.intxt{width:60%;font-size:14px;color:#333;height:30px;line-height:30px;border:1px solid #eee;padding:5px 5px 5px 10px;}
.newbtn{width:378px;font-size:14px;color:#333;height:30px;line-height:30px;border:1px solid #eee;padding:5px 10px;border-radius:5px;}
input,textarea{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-appearance:none;border:0;border-radius:0;}
.mima-content{margin-top:15px;}
.mima-content .hint{margin-top:10px;color:#999;display:inline-block;}
.validWrapper{height:40px;overflow:hidden;}
#safequestion,#newsafequestion{width:220px;border-radius:2px;border:1px solid #ccc;font-size:12px;padding:5px;line-height:30px;height:30px;vertical-align:middle;list-style:none;outline:none;}

/*自适应代码*/
@media (max-width: 768px) {
body{background:#fff;}
.user-container,.cndns-right,.dwz-box,.head-container,.footer-link,.box-hd,.input_container span,.input_container label{display:none;}
.top-yxw-pc-gl{padding-top:0;}
.user-right{float:none;max-width:640px;min-width:320px;width:100%;margin:0 auto;margin-top:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;}
.uc-main-box{padding:0;min-height:100px;}
.uc-content-box{margin:0;}
.mima-content{margin-top:0;padding:20px 15px;}
.newbtn{width:100%;height:50px;line-height:50px;font-size:14px;color:#333;background-color:#f3f7fa;padding:16px 12px;box-sizing:border-box;border-radius:3px;border:none !important;}
.formbutton{width:100%;height:44px;line-height:44px;font-size:16px;background:#ff700a;color:#fff;cursor: pointer;padding:0;border-radius:3px;margin-top:15px;}
.input_container{margin-bottom:10px;}
.uc-box{background:none;border-radius:0;}
.container{width:100%;margin:0;}
}
</style>
</head>
<body>

<?php include(DEDEMEMBER."/templets/head.htm");?>
<?php include(DEDEMEMBER."/templets/left.htm");?>

<!-- 右侧功能定位 -->
<div class="user-right">
<div class="uc-box uc-main-box">
<div class="uc-content-box order-list-box">
<div class="box-hd"><h1 class="title">修改登录密码</h1></div>

<!-- 密码修改 -->
<div class="mima-content">
<form action="edit_baseinfo.php" method="post" enctype="multipart/form-data" name="form2" onsubmit="return checkSubmit();">
<input type="hidden" name="dopost" value="save" />

<div class="input_container">
<label>原登录密码</label>
<input name="oldpwd" type="password" id="iptOldpwd" class="newbtn" placeholder="请输入旧密码" maxlength="16" /><span style="color:red;"> *</span>
</div>

<div class="input_container">
<label>设置新密码</label>
<input name="userpwd" type="password" id="userpwd" class="newbtn" placeholder="请输入新密码，建议数字+字母组合(6-16位)" maxlength="16" />
</div>

<div class="input_container">
<label>确认新密码</label>
<input name="userpwdok" type="password" id="iptUserpwdok" class="newbtn" placeholder="请再次输入新密码" maxlength="16" />
</div>

<div class="mima-act"><button class="formbutton" type="submit">保存</button></div>

</div>
</div>
</form>

</div>
<!-- 密码修改 End -->

</div>
<!-- 右侧功能定位 End -->

</div>

<?php include(DEDEMEMBER."/templets/footer.htm");?>

<script type="text/javascript">  
function checkSubmit()
{
if(document.form2.iptOldpwd.value=='')
{
document.form2.iptOldpwd.focus();
alert("请输入旧密码");
return false;
}
if(document.form2.userpwd.value=='')
{
document.form2.userpwd.focus();
alert("请设置新密码");
return false;
}
if(document.form2.iptUserpwdok.value=='')
{
document.form2.iptUserpwdok.focus();
alert("请确认新密码");
return false;
}
}
</script>

</body>
</html>